<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>{$meta_title}</title>
    <link rel="shortcut icon" href="favicon.ico" />
    <link rel="stylesheet" type="text/css" href="__STATIC__/bootstrap/css/bootstrap.min.css">
    <link href="__STATIC__/bootstrap/css/bootstrap-datetimepicker.css" rel="stylesheet">
    <script type="text/javascript" src="__STATIC__/My97DatePicker/WdatePicker.js"></script>
    <link rel="stylesheet" type="text/css" href="__CSS__/admin.css">
    <script src="__STATIC__/jquery/jquery.min.js"></script>
    <script src="__STATIC__/bootstrap/js/bootstrap.min.js"></script>
    <script src="__JS__/common.js"></script>
    <script src="__JS__/layer.js"></script>
    <script type="text/javascript">
        $(document).ready(function(){
            $(".div_2").click(function(){
                $(this).next("div").slideToggle("quick")
                        .siblings(".div_3:visible").slideUp("quick");
            });
        });
    </script>
</head>
<body>
<!-- 网页整体背景图 -->
<div id="bg">
    <img src="__IMG__/admin_bg.png" height="100%" width="100%"/>
</div>
<!-- 网页整体背景图结束 -->
<!-- wapper 1 -->
<div class="wapper">
    <div class="top">
        <div class="logo">
            <a href="{:U('Index/index')}"><img src="__IMG__/admin.png" width="390px" height="148px"></a>
        </div>
        <div class="slider">
        <div class="user">
        <!-- personal center  -->
        <div class="dropdown">
             <button class="btn btn-default dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">{:session('user_auth.username')}<span class="caret"></span>
             </button>
             <ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
                <li><a href="{:U('User/changePwd')}">修改密码</a></li>
                <li><a href="{:U('User/logout')}">退出</a></li>
             </ul>
        </div>
                <!-- 下拉图标 -->

        </div>
        </div>
    </div>
    <div class="main">
        <div class="leftbox">
            <div class="left_top">
                <img src="__IMG__/left_top.png">
                <div class="touxiang">
                    <img src="__IMG__/touxiang.png"/>
                    <div class="user_name">
                        <font color="#fff" size="2">欢迎登录</font><br/>
                        <font color="#fff">{:session('user_auth.username')}</font>
                    </div>
                </div>
            </div>
            <div class="left_main">
                <div class="left side-sub-menu">
                    <div class="div_1">
                        <volist name="__MENU__.child" id="sub_menu">
                        <div class="div_2">
                            <div class="jidugenxin">
                                <notempty name="key"><i class="fa fa-th-large"></i> <span class="nav-label"><font size="3" color="#828890" >{$key}</font></span> <span class="fa arrow"></span></notempty>
                            </div>
                            <div class="zxcp"></div>
                       </div>
                        <div class="div_3">
                            <ul>
                                <volist name="sub_menu" id="menu">
                                    <li><div>
                                        <a class="item slider_a" href="{$menu.url|U}" ><font size="3" color="#828890" >{$menu.title}</font></a>
                                    </div></li>
                                </volist>
                            </ul>
                        </div>
                        </volist>
                    </div>
                </div>
            </div>
        </div>
        <block name="rightbox"></block>
    </div>
    <div class="under">
        Copyright 2015 技术支持：SmartLib智慧图书馆
     </div>
</div>
<script type="text/javascript">
    (function(){
        var ThinkPHP = window.Think = {
            "ROOT"   : "__ROOT__", //当前网站地址
            "APP"    : "__APP__", //当前项目地址
            "PUBLIC" : "__PUBLIC__", //项目公共目录地址
            "DEEP"   : "{:C('URL_PATHINFO_DEPR')}", //PATHINFO分割符
            "MODEL"  : ["{:C('URL_MODEL')}", "{:C('URL_CASE_INSENSITIVE')}", "{:C('URL_HTML_SUFFIX')}"],
            "VAR"    : ["{:C('VAR_MODULE')}", "{:C('VAR_CONTROLLER')}", "{:C('VAR_ACTION')}"]
        }
    })();
</script>
<script src="__JS__/think.js"></script>
<block name="script"></block>
</body>
</html>